package com.climb.spingcloud.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.climb.spingcloud.base.BaseEntity;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author filteraid
 * @since 2021-08-02
 */
@Data
  @EqualsAndHashCode(callSuper = true)
    @TableName("shop_user")
public class User extends BaseEntity {

    private static final long serialVersionUID = 1L;

      /**
     * 用户名
     */
      private String userName;

      /**
     * 密码
     */
      private String password;

      /**
     * 手机号
     */
      private String telephone;

      /**
     * 像片
     */
      private String photo;

      /**
     * 生日
     */
      private LocalDateTime birthday;

      /**
     * 是否删除（0-正常，1-删除）
     */
      @TableField("is_deleted")
    @TableLogic
    private Boolean deleted;


}
